/**
 * Copyright (c) 2016-2019 人人开源 All rights reserved.
 *
 * https://www.renren.io
 *
 * 版权所有，侵权必究！
 */

package com.pku.smart.modules.sys.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * 系统配置信息
 *
 * @author Mark sunlightcs@gmail.com
 */
@Data
@TableName("sys_config")
public class SysConfigEntity {
	@TableId(value = "id")
	private Long id;

	@NotBlank(message="参数名不能为空")
	@TableField(value = "param_key")
	private String paramKey;

	@NotBlank(message="参数值不能为空")
	@TableField(value = "param_value")
	private String paramValue;

	@TableField(value = "remark")
	private String remark;

}
